package org.zerocouplage.component.impl.component;

import java.util.List;

import org.zerocouplage.component.api.component.ZCComboBox;

public abstract class ZCAbstractComboBox extends ZCAbstractComponent implements
		ZCComboBox {

	private List<String> value;
	private String selectedName;

	public String getSelectedName() {
		return selectedName;
	}

	public void setSelectedName(String selectedName) {
		this.selectedName = selectedName;
	}

	public List<String> getValue() {
		return value;
	}

	public void setValue(List<String> values) {
		this.value = values;
	}

	public String getValue(int index) {
		String tmpValue = value.get(index);
		return tmpValue;
	}

	public void setValue(String value) {
		this.value.add(value);
	}

}
